package com.cnswhy.cloud.server.core.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cnswhy.cloud.common.core.base.service.SuperService;
import com.cnswhy.cloud.server.common.entity.enumeration.IotType;
import com.cnswhy.cloud.server.core.entity.IotTerminalInfo;

/**
 * <p>
 * 业务接口
 * 
 * </p>
 *
 * @author cnswhy
 * @date 2021-03-24
 */
public interface IotTerminalInfoService extends SuperService<IotTerminalInfo> {
    public IotTerminalInfo queryTerminal(IotType iotType, String terminalId,Long customerId);
    public IPage<IotTerminalInfo> pageByCustomer(IotType iotType, Integer currentPage, Integer pageSize, Long customerId);
    public IPage<IotTerminalInfo> pageByMerchant(Integer currentPage, Integer pageSize,Long merchantId);
}
